package com.guhappy.model.contest;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.guhappy.model.user.Customer;

public class ContestPlayer implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private Date joinDate;
	private Integer totalPicks;
	
	private Contest contest;
	private Customer customer;
	
	private List<ContestStock> contStockList = new ArrayList<ContestStock>();
	/**
	 * @param id
	 * @param joinDate
	 * @param toalPicks
	 */
	
	public ContestPlayer(String id, Date joinDate, Integer totalPicks) {
		this.id = id;
		this.joinDate = joinDate;
		this.totalPicks = totalPicks;
	}
	/**
	 * 
	 */
	public ContestPlayer() {
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getJoinDate() {
		return joinDate;
	}
	public void setJoinDate(Date joinDate) {
		this.joinDate = joinDate;
	}
	public Integer getTotalPicks() {
		return totalPicks;
	}
	public void setTotalPicks(Integer totalPicks) {
		this.totalPicks = totalPicks;
	}
	public Contest getContest() {
		return contest;
	}
	public void setContest(Contest contest) {
		this.contest = contest;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public List<ContestStock> getContStockList() {
		return contStockList;
	}
	public void setContStockList(List<ContestStock> contStockList) {
		this.contStockList = contStockList;
	}
	
}
